package org.dtrd.modules.faq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.faq.entity.dto.FaqCategoryDetail;
import org.dtrd.modules.faq.entity.po.DtrdExtEmsYwFaqCategory;

import java.util.List;

/**
 * <p>
 * 知识问答分类服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-06
 */
public interface IDtrdExtEmsYwFaqCategoryService extends IService<DtrdExtEmsYwFaqCategory> {

     List<FaqCategoryDetail> getFaqCategoryList(String fagCategoryName);

     FaqCategoryDetail getFaqCategory(Integer dataId);

     boolean saveOrUpdateFaqCategory(FaqCategoryDetail dto);

     boolean removeFaqCategory(Integer dataId);
}
